Help in concatenation

Help in concatenation

am 06.06.2008 14:04:40 von Nasreen Laghari

--0-874738058-1212753880=:58268
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,  =0AI need to change PHP embeded in HTML to HTML embeded in PHP as =
trying to use modularity approach.=0AI'm stuck on below these lines where c=
oncatenation is the big issue. I have researched, read but couldnt sort thi=
s out after try really hard.=0ACould any one please help me to change this =
code to HTML embeded in PHP please. Mostly i'm getting confuse where text i=
s written in red=0AI know it is very basic question but this concatenation =
is confusing me so much. I have spended my whole day in sorting this out bu=
t :(=0A1. "=A0href=3D" $thispage".($y>0?("?start=3D").$y:""));?>">=0A2.=
  0?("?start=3D").$next:"=
"));?>"><<  Thank you =0A
--0-874738058-1212753880=:58268--

Re: Help in concatenation

am 07.06.2008 18:54:27 von Nitsan Bin-Nun

------=_Part_9156_12552528.1212857667440
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

1.
0?("?start=").$y:""));?>"> print($pg);?>
2.

turns into:


> > $string = '' . $pg . '';
> ?>






> > $string2 = '';
> ?>

I can squeeze the if operation into the string but I can't see good cause
for this (this is less spageti this way)
On 06/06/2008, Nasreen Laghari wrote:
>
> Hi,
>
> I need to change PHP embeded in HTML to HTML embeded in PHP as trying to
> use modularity approach.
> I'm stuck on below these lines where concatenation is the big issue. I have
> researched, read but couldnt sort this out after try really hard.
> Could any one please help me to change this code to HTML embeded in PHP
> please. Mostly i'm getting confuse where text is written in red
> I know it is very basic question but this concatenation is confusing me so
> much. I have spended my whole day in sorting this out but :(
> 1. 0?("?start=").$y:""));?>">
> 2. 0?("?start=").$next:""));?>"><<
> Thank you
>
>
>

------=_Part_9156_12552528.1212857667440--